import request from '@/utils/request'

// 查询聚水潭原始销售出库列表
export function listJst(query) {
  return request({
    url: '/JstOrigSalesOutbound/jst/list',
    method: 'get',
    params: query
  })
}

// 查询聚水潭原始销售出库详细
export function getJst(id) {
  return request({
    url: '/JstOrigSalesOutbound/jst/' + id,
    method: 'get'
  })
}

// 新增聚水潭原始销售出库
export function addJst(data) {
  return request({
    url: '/JstOrigSalesOutbound/jst',
    method: 'post',
    data: data
  })
}

// 修改聚水潭原始销售出库
export function updateJst(data) {
  return request({
    url: '/JstOrigSalesOutbound/jst',
    method: 'put',
    data: data
  })
}

// 删除聚水潭原始销售出库
export function delJst(id) {
  return request({
    url: '/JstOrigSalesOutbound/jst/' + id,
    method: 'delete'
  })
}
